package org.tale.mscp.admin.domain.entity;

import lombok.Data;
import lombok.ToString;
import org.tale.mscp.infrastructure.core.domain.BaseEntity;

/**
 * 用户和岗位关联 sys_user_post
 *
 * @author ruoyi
 */
@Data
@ToString
public class SysUserPost extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 岗位ID
     */
    private Long postId;

    /**
     * 是否主岗位
     */
    private Boolean mainPost;

    /**
     * 是否当前显示岗位
     */
    private boolean nowPost;

}
